package com.demo.common.core.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResponseCode {

    SUCCESS(0,"操作成功"),
    FAIL(-1,"操作失败");



    /**
     * 状态码
     */
    private final int code;

    /**
     * 消息
     */
    private final String msg;
}
